﻿using System;
namespace hcrainMvc.Model
{
	/// <summary>
	/// herp_product:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class herp_product
	{
		public herp_product()
		{}
		#region Model
		private long _id;
		private string _gid;
		private long? _mainid;
		private string _producttype;
		private string _productclass;
		private string _productclasstwo;
		private string _productno;
		private string _name;
		private string _spec;
		private string _unit;
		private decimal? _price;
		private string _remark;
		private long? _dataadduserid;
		private long? _datadepid;
		private long? _databranchid;
		private string _datadepname;
		private string _databranchname;
		private string _dataaddusername;
		private DateTime? _dataaddtime;
		/// <summary>
		/// auto_increment
		/// </summary>
		public long id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string gid
		{
			set{ _gid=value;}
			get{return _gid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long? mainid
		{
			set{ _mainid=value;}
			get{return _mainid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string producttype
		{
			set{ _producttype=value;}
			get{return _producttype;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string productclass
		{
			set{ _productclass=value;}
			get{return _productclass;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string productclasstwo
		{
			set{ _productclasstwo=value;}
			get{return _productclasstwo;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string productno
		{
			set{ _productno=value;}
			get{return _productno;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string spec
		{
			set{ _spec=value;}
			get{return _spec;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string unit
		{
			set{ _unit=value;}
			get{return _unit;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? price
		{
			set{ _price=value;}
			get{return _price;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long? dataadduserid
		{
			set{ _dataadduserid=value;}
			get{return _dataadduserid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long? datadepid
		{
			set{ _datadepid=value;}
			get{return _datadepid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public long? databranchid
		{
			set{ _databranchid=value;}
			get{return _databranchid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string datadepname
		{
			set{ _datadepname=value;}
			get{return _datadepname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string databranchname
		{
			set{ _databranchname=value;}
			get{return _databranchname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string dataaddusername
		{
			set{ _dataaddusername=value;}
			get{return _dataaddusername;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? dataaddtime
		{
			set{ _dataaddtime=value;}
			get{return _dataaddtime;}
		}
		#endregion Model

	}
}

